﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.Xpo;

namespace RemoteImaging.LicensePlate
{
    public class SuspeciousCarAlermInfo : XPObject
    {
        public SuspeciousCarAlermInfo()
            : base()
        {

        }

        public SuspeciousCarAlermInfo(Session session)
            : base(session)
        {

        }


        private ReportedCarInfo _reportedCarInfo;
        public ReportedCarInfo ReportedCarInfo
        {
            get { return _reportedCarInfo; }
            set
            {
                _reportedCarInfo = value;
                OnChanged("ReportedCarInfo");
            }
        
        }

        private LicensePlateInfo _capturedLicenseInfo;
        public LicensePlateInfo CapturedLicenseInfo
        {
            get { return _capturedLicenseInfo; }
            set
            {
                _capturedLicenseInfo = value;
                OnChanged("CapturedLicenseInfo");
            }
        }

        private DateTime _handleTime;
        public DateTime HandleTime
        {
            get { return _handleTime; }
            set { SetPropertyValue("HandleTime", ref _handleTime, value); }
        }

        private ProcessBehavior _processBehavior;
        public ProcessBehavior ProcessBehavior
        {
            get { return _processBehavior; }
            set { SetPropertyValue("ProcessBehavior", ref _processBehavior, value); }
        }

        [NonPersistent]
        public string ProcessBehaviorDescription { get { return ProcessBehavior.GetDescription(); } }

    }
}
